package com.zn.opit.shirodemo.domain.enums;

import lombok.Getter;

// 0-未启用;1-启用;2-锁定;3-注销;4-删除
@Getter
public enum SysUserStatus {

    OFF(0, "未启用"),
    ON(1, "启用"),
    LOCKED(2, "锁定"),
    LOGOFF(3, "注销"),
    DELETED(4, "删除"),
    ;

    final Integer code;
    final String msg;

    SysUserStatus(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
